-
Home
-
Content Egg – Affiliate Product Importer & Price Comparison
-
9.0.0
-
Code
-
Classes
- AiClient
| Total Complexity |
54 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
367 |
| Lines of code |
270 |
| Logical lines of code |
109 |
| Comment lines |
5 |
| Methods |
21 |
| Properties |
6 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getTemporaryDirectory() |
S |
50 |
7 |
30 |
| chat() |
S |
58 |
8 |
15 |
| saveToCache() |
S |
53 |
7 |
21 |
| _query() |
S |
48 |
6 |
33 |
| getFromCache() |
S |
57 |
6 |
15 |
| models() |
S |
40 |
1 |
74 |
| retry() |
S |
59 |
3 |
15 |
| sendRequest() |
S |
55 |
1 |
20 |
| __construct() |
S |
68 |
2 |
7 |
| createClient() |
S |
67 |
2 |
7 |
| getChatUrl() |
S |
100 |
1 |
0 |
| getPayload() |
S |
100 |
1 |
0 |
| getContent() |
S |
100 |
1 |
0 |
| getModel() |
S |
82 |
1 |
3 |
| getAiModelPrices() |
S |
82 |
1 |
3 |
| getLastUsedModelPriceInput() |
S |
82 |
1 |
3 |
| getLastUsedModelPriceOutput() |
S |
82 |
1 |
3 |
| getHeaders() |
S |
76 |
1 |
5 |
| getLastUsage() |
S |
82 |
1 |
3 |
| query() |
S |
77 |
1 |
3 |
| getCacheFileName() |
S |
64 |
1 |
10 |